package com.wxdc.nmgyt.nmgytwydc.common;

/**
 * Created by Administrator on 2018/8/9.
 */

public class MyCommon {
    /**
     * 判断字符串中是否含有中文
     */
    public static boolean isCNChar(String s){
        boolean booleanValue = false;
        for(int i=0; i<s.length(); i++){
            char c = s.charAt(i);
            if(c > 128){
                booleanValue = true;
                break;
            }
        }
        return booleanValue;
    }
}
